package ssm.service;
import org.springframework.stereotype.Service;
import ssm.pojo.UserStudent;

import java.util.List;

@Service
public interface UserStudentService {

    //增加学生信息
    Boolean insertStudent(UserStudent userstudent);

    //删除学生数据
    Boolean deleteStudent(Integer studentId);

    //修改学生数据
    Boolean updateStudent(UserStudent userstudent);

    //产看学生数据所有
    List<UserStudent> selectStudentAll();

    //查询单个学生数据
    UserStudent selectStudentOne(Integer studentId);
}
